﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace WuDada.Core.Member.Domain
{
    /// <summary>
    /// 會員
    /// </summary>
    [Serializable]
    [DataContract]
    public class MemberVO : BaseMemberInfo
    {
        #region Constructor

        public MemberVO()
        {
            Flag = 1;
        }

        #endregion

        #region Property

        [DataMember]
        public virtual int MemberId { get; set; }

        /// <summary>
        /// 會員編號
        /// </summary>
        [DataMember]
        public virtual string MemberNo { get; set; }

        /// <summary>
        /// 登入帳號
        /// </summary>
        [DataMember]
        public virtual string LoginId { get; set; }

        /// <summary>
        /// 登入密碼
        /// </summary>
        [DataMember]
        public virtual string LoginPassword { get; set; }

        /// <summary>
        /// 註冊FB 之信箱
        /// </summary>
        [DataMember]
        public virtual string FB_Email { get; set; }

        /// <summary>
        /// 狀態 0.停用 1.啟用
        /// </summary>
        [DataMember]
        public virtual int Flag { get; set; }

        /// <summary>
        /// 接受電子報(是否願意接收公司相關訊息)
        /// </summary>
        [DataMember]
        public virtual bool Epaper { get; set; }

        #endregion
    }
}
